package com.decent.web.system.vo.chengquan;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * @author: decent Gjh
 * @date: 2022/10/31/11:34
 * @description:
 */
@EqualsAndHashCode()
@Data
@ToString
public class ChengPayOrderVO {
    /**
     * 本地订单编号
     */
    @JSONField(name="user_order_no")
    private String userOrderNo;
    /**
     * 橙券订单编号
     */
    @JSONField(name="order_no")
    private String orderNo;
    /**
     * 订单状态
     */
    private String state;
    /**
     * 价格
     */
    private BigDecimal price;
    /**
     * 商品code
     */
    @JSONField(name="good_no")
    private String goodsNo;
    /**
     * 商品名称
     */
    @JSONField(name="goods_name")
    private String goodsName;
    /**
     * 商品类型
     */
    @JSONField(name="goods_type")
    private String goodsType;
    /**
     * 卡号
     */
    @JSONField(name="goods_number")
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String goodsNumber;
    /**
     * 卡密
     */
    @JSONField(name="goods_password")
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String goodsPassword;
    /**
     * 链接
     */
    @JSONField(name="goods_link")
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String goodsLink;
    /**
     * 订单支付时间
     */
    @JSONField(name="complete_time")
    private Long completeTime;
    /**
     * 订单创建时间
     */
    @JSONField(name="create_time")
    private Long createTime;
    /**
     * 订单有效期
     */
    @JSONField(name="effective_time")
    private Long effectiveTime;
}
